from django.conf.urls.defaults import *
import views

from django.contrib import admin
admin.autodiscover()

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
                       (r'^cardwall/', include('cardwall.greatwall.urls')),

#                        (r'^main_page$', views.main_page),
#                        (r'^view_wall$', views.view_wall),
#                        (r'^trash_wall$', views.trash_wall),
#                        (r'^add_wall$', views.add_wall),
                       (r'^admin/', include(admin.site.urls)),
                       (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', 
                        {'document_root': 'templates/static'}),
    # Example:
    # (r'^cardwall_html/', include('cardwall_html.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)
